<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="chtml" uri="http://www.szhelper.com/jsp/html"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-CN" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" type="text/css" href="<spring:url value="/" />css/form.css" />
 <script type="text/javascript"
	src="<spring:url value="/" />js/json.min.js"></script>
<script type="text/javascript">
function _sort4list(field)
{
	if(field=='${sortby}')
	 	if($("#sortOrder").val()=='DESC')$("#sortOrder").val("ASC");
			else $("#sortOrder").val("DESC");
	else
		 $("#sortOrder").val("DESC");
	$("#sortby").val(field); 
	
		
		document.formMain.submit();
}
</script>
<title>短信合作商查询</title>
</head>
<body>
<div class="youarehere">系统管理 &gt; <span>短信合作商管理</span></div>
<div id="showDiv"><div id="testDiv"></div>
<form method="post" name="formMain" action="/sms/smsPartnerList">
<div class="content">

<table width="99%" align="center" border="0" cellpadding="1"
	cellspacing="1" class="data_table">
	<tr>
		<td class="data_tab_th" colspan="9">短信合作商查询</td>
	</tr>
	<tr>
		<td class="data_tab_tdr">短信合作商编号:</td>
		<td class="data_tab_tdl"><input type="text" name="id_text" value="${id_text }" /> </td>
		<td class="data_tab_tdr">合作商名称:</td>
		<td class="data_tab_tdl"><input type="text" name="name_text" value="${name_text }" /> </td>
	</tr>
	<tr>
		<td colspan="9" class="bg_bai">
		
		<div class="mr_20 t_c">
		<input type="submit" class="pub_bt" value="查询" onclick="$(':input[name*=\'PaginationButton_CurrentPage4list\']').val(1);"/>
		<input type="reset"  class="pub_bt" value="清空" />
		
		<input type="hidden" value="${sortOrder}" name="sortOrder" id="sortOrder"/>
		<input type="hidden" value="${sortby }" name="sortby" id="sortby"/>
		</div>
		
		</td>
	</tr>
</table>
</div>
<br/><br/>

	<chtml:list collection="list" type="com.hengpeng.itfinbase.persist.SmsPartner"
		 includeFields="id,name,remark,smsSendType,status" showCheckBox="true"
			title="短信合作商列表"  allowSort="true" paginationName="page" 
			updateLink="detailpartner/@{id}" >
			<input type="button" value="添加合作商" onclick="javascript:location.href='addpartner';" />
    </chtml:list>
 </form>
</div>
<!--说明   -->	
<div class="sm_info">
	<p class="row_one">说明：</p>
	<p class="other"></p>
	<p class="other"></p>
</div>
</body>
</html>